home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
NCSA
/
tn3270 2.3d26 source
/
Read Me
Wrap
Text File
|
1991-06-18
|
4KB
|
116 lines
tn3270 2.3d26 Source Distribution - 6/18/91
**IMPORTANT**
The source for tn3270 is protected by a Copyright notice which
is more restrictive than the Copyright for the application. Before
using the tn3270 source, please read the Copyright notice and follow
its requirements. The notice may be found in any of the source
files.
Version 2.3d26 of tn3270 is built using MPW version 2.0.2, and uses
MPW C and the MPW Assembler. This is the last source distribution
which will use MPW 2.0.2. The next distribution is expected to use
MPW 3.2, and is planned to be available in the summer of 1991.
tn3270 is linked with the TCP/IP subroutine library from NCSA Telnet
version 2.3. This distribution of tn3270 includes all the files from
NCSA Telnet needed to link or modify tn3270. However, the NCSA source
is required in order to make changes to the TCP/IP subroutines. The
next source distribution of tn3270 will be linked using the subroutines
from NCSA Telnet 2.4.
Here are the directions for installing the source files and building
tn3270.
1. Install MPW 2.0.2 according to Apple's directions.
2a. If you have the source for NCSA Telnet, and want to integrate
the tn3270 source with the Telnet source, follow these steps:
a. In the folder "Mac Telnet":tcpip, replace the files
user.c
userd.c
util.c
with the new versions of these files found in the same folder
in the tn3270 source distribution. Delete the corresponding
.o files in the folder "Mac Telnet":tcpip:obj.
b. Set the current directory to "Mac Telnet":tcpip, and issue
the commands:
BuildProgram tcplib.ncsa
BuildProgram tcplibd
to create updated copies of tcplib.ncsa.o and tcplibd.o.
2b. If you do not have the NCSA Telnet source, follow these steps:
a. Copy the folder "Mac Telnet" from the tn3270 distribution files
into your MPW folder. The files:
"Mac Telnet":tcpip:user.c
"Mac Telnet":tcpip:userd.c
"Mac Telnet":tcpip:util.c
may be deleted, since they are not required for this type of
installation.
b. Modify StdIO.h by following these directions which are from
the NCSA Telnet installation procedure:
"You must add the following three lines to your StdIO.h file
in your MPW distribution. Usually this file is in:
{MPW}CIncludes:StdIO.h Since malloc() is worthless, this may
be a good idea for all of your programs. To get NCSA Telnet
to work right, these lines are REQUIRED."
#define malloc(A) NewPtr(A)
#define free(A) DisposPtr(A)
char *malloc();
3. Make these changes to MPW distribution files:
a. Locate the file "MPW changes":RIncludes:"append this to Types.r"
in the tn3270 distribution, and append its contents to the end
of {MPW}RIncludes:Types.r.
b. Replace the file {MPW}CIncludes:Sound.h with the corresponding
file from the tn3270 distribution files.
4. Copy the folders "tn3270" and "tn3270 tools" from the tn3270
distribution into your MPW folder.
5. Edit the file {MPW}tn3270:makefile, and set the control variables
at the start of the file to the proper path names. In most cases,
you will have to replace "hd" with the name of the volume on
which you have installed MPW.
6. Create a new folder named "obj" in the folder {MPW}tn3270.
7. Set the current directory to {MPW}tn3270. To build the NCSA
version of tn3270, issue the command:
buildprogram tn3270
To build the MacTCP version of tn3270, issue the command:
buildprogram tn3270drv
To build a MacTCP version of tn3270 for testing, issue the command
buildprogram tn3270test
This test version is the same as the standard MacTCP version, but
has a larger MultiFinder memory allocation. This version may be
run immediately on a color Macintosh without increasing the
memory allocation first.
8. Set the current directory to {MPW}"tn3270 tools". To build the
KeyMap program, issue the command:
buildprogram keymap
Please inform me of any problems you encounter with the tn3270 source
distribution.
Peter DiCamillo
Brown University CIS
Internet: cmsmaint@brownvm.brown.edu
Phone: (401) 863-7582